Saltar al contenido principal

Tamagotchi-style Companion App

GitHub Repo Last Update PlatformIO LVGL

Banner

📌 Overview

Extended version of the base template implementing a virtual pet with:

  • Multiple interactive menus
  • Persistent character state
  • Resource management system
  • Custom UI components for circular displays

Gameplay

🌟 Key Features

CategoryDetails
GameplayHunger/health systems, mini-games, shop
UI SystemDynamic screen transitions with animation
Data ManagementAutomatic state saving to flash storage

🛠 Technical Highlights

  • Framework: ESP-IDF + LVGL Extended Components
  • Core Functionality:
    • Custom widget creation for circular layouts
    • Flash-based save system with CRC checks
    • Power-efficient animation scheduler
  • Graphics: On-device image conversion tools
  • Input: Gesture recognition system

🎮 Game Mechanics

typedef struct {
uint8_t hunger;
uint8_t happiness;
uint32_t coins;
pet_state_t state;
} pet_data_t;